<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib prefix="fns" uri="/WEB-INF/tlds/fns.tld"%>
<!DOCTYPE html>
<html>
	<head>
		<title>人员管理</title>
		<!-- 引入公用Js与Css -->
		<%@include file="/view/common/resource.jsp" %>
		<script src="<%=basePath%>/js/extends/sys.member.js" type="text/javascript"></script>
	</head>
	<body>
		<div id="wrap">
			<div class=" radius3 borderD pb15">
				<div class="clearfix mt15 mr10 ml10">
					<fns:hasPermission value="sys.member.handle">
						<input type="hidden" id="handlePermission" value="1">
					</fns:hasPermission>
					<dl class="mt15 clearfix font12">
						<dd class="clearfix pt10 pull-left pl10">
							<div class="input-group input-group-sm w200">
					            <span class="input-group-addon">用户名:</span>
					            <input type="text" class="form-control" id="memName" name="memName">
					        </div>
						</dd>
						<dd class="clearfix pt10 pull-left pl10">
							<div class="input-group input-group-sm w200">
					            <span class="input-group-addon">手机号:</span>
					            <input type="text" class="form-control" id="memMobile" name="memMobile">
					        </div>
						</dd>
						<dd class="clearfix pt10 pull-left pl10">
							<div class="input-group input-group-sm w200">
					            <span class="input-group-addon">用户类型:</span>
					            <select id="memType" name="memType" class="form-control">
									<option value="">请选择</option>
									<c:forEach var="item" items="${fns:getDictList('mem_type') }">
										<option value="${item.dictValue }">${item.dictName }</option>
									</c:forEach>
								</select>
					        </div>
						</dd>
						<dd class="clearfix pt10 pull-left pl10">
							<div class="input-group input-group-sm w200">
					            <span class="input-group-addon">账号状态:</span>
					            <select id="memStatus" name="memStatus" class="form-control">
									<option value="">请选择</option>
									<c:forEach var="item" items="${fns:getDictList('mem_status') }">
										<option value="${item.dictValue }">${item.dictName }</option>
									</c:forEach>
								</select>
					        </div>
						</dd>
						<dd class="clearfix pt10 pull-left pl15">
							<button type="button" id="searchData" class="btn btn-default">查询</button>
						</dd>
					</dl>
					<div id="toolbar">
						<fns:hasPermission value="sys.member.handle">
							<button type="button" class="btn btn-default" onclick="add();">新增</button>
						</fns:hasPermission>
					</div>
					<table id="member_table"></table>
				</div>
			</div>
		</div>
	</body>
</html>
